package com.atguigu.minio.controller;

import com.atguigu.minio.bean.TUser;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.web.bind.annotation.*;

@Tag(name = "测试模块A")
@RequestMapping("/api/a")
@RestController
public class AController {
    @Operation(summary = "atest方法")
    @PostMapping("aTest")
    // 请求体接收参数
    public String aTest(@RequestBody TUser user ,@RequestHeader("token")String token){

        return "success";
    }
}
